Analyzing Slicing of Program through Cohesion Metric
نویسندگان
چکیده
This paper presents a new cohesion metric for a program which is used to analyze the slicing criterion. Based on the value of propose cohesion metric it is decided to perform slicing in a program or not. The propose cohesion metrics is also evaluated analytically against Weyuker’s Property and perform comparison with the existing cohesion metrics of Meyers et al. The results in this paper shows that the propose cohesion metric is a good method for analyzing the slicing of a program or not. Data for 16 ‘C’ programs has been collected from open source software system. For analyzing the results IBM SPSS software were used. KeywordsCohesion; Metric; Program Slicing; Weyuker’s Property; Program; Module;
منابع مشابه
Analyzing the Cohesion and Coupling of State Chart Diagrams using Program Slicing Techniques
w w w . i j c s t . c o m InternatIonal Journal of Computer SCIenCe and teChnology 69 Abstract The State Chart Diagrams are used for analyzing the dynamic behavior of system. The understandably of State Chart Diagrams are important for the effective and clear communication among developers. In this paper we, propose a cohesion and coupling , as Average Cohesiveness of States (ACOS) and Average ...
متن کاملDetermine Cohesion and Coupling for Class Diagram through Slicing Techniques
High cohesion or module strength indicates that a system has been well partitioned into components which have strong internal relationships between attribute, method and class. Cohesion is an important factor in term of software design. Coupling indicates the degree of interdependence among the component of a software system. Coupling is thought to be a desirable goal in software construction, ...
متن کاملEfficient Program Slicing Algorithms for Measuring Functional Cohesion and Parallelism
Program slicing is the task of finding all statements in a program that directly or indirectly influence the value of a variable occurrence. The set of statements that can affect the value of a variable at some point in a program is called a program slice. In several software engineering applications, such as program debugging and measuring program cohesion and parallelism, several slices are c...
متن کاملCohesion Metrics
We consider ways of measuring the cohesion of program fragments based upon techniques for program slicing, following the work of Ott et al 12, 2, 13, 11, 10]. The approach is based on the idea that the intersection of a program's slices represents that part of the fragment which is cohesive. We produce cohesion metrics that are structurally identical to those of Ott and Thuss 13], the diierence...
متن کاملOn Inter-Method and Intra-Method Object-Oriented Class Cohesion
Cohesion has been a topic of interest since structured design [20, 23] in the 1970’s. Today, there are numerous researchers continuing this work into object-oriented designs [1, 3, 5, 7, 9, 10, 12, 13, 16, 18, 19, 22]. Most of the current research has focused on the interaction of methods within a class, the inter-method cohesion. In this paper we consider both the inter-method cohesion and the...
متن کامل